package net.maku.module.organization.convert;

import net.maku.module.organization.entity.OrganizationEntity;
import net.maku.module.organization.vo.OrganizationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业务_组织
 *
 * @author
 */
@Mapper
public interface OrganizationConvert {
    OrganizationConvert INSTANCE = Mappers.getMapper(OrganizationConvert.class);

    OrganizationEntity convert(OrganizationVO vo);

    OrganizationVO convert(OrganizationEntity entity);

    List<OrganizationVO> convertList(List<OrganizationEntity> list);

}